from .models import Play
from rest_framework import serializers


class PlaySerializer(serializers.ModelSerializer):
    class Meta:
        model = Play
        fields = '__all__'


class PlayDetailSerializer(serializers.ModelSerializer):
    class Meta:
        model = Play
        fields = '__all__'
        depth = 3
